home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / kernel / makefile.unx < prev    next >
Makefile  |  1997-04-16  |  883b  |  48 lines

  1.  
  2. include ../makefile.inc
  3.  
  4. #DPPOPTS += -g $(INCDIR)/generics.h -ni
  5.  
  6. CLASSES = object.d behavior.d metaclas.d class.d method.d genfun.d dynace.d
  7.  
  8.  
  9. OBJ = $(CLASSES:.d=.o) kernel.o
  10.  
  11. #  Uncomment the following line if you wish to include the assembler jumpto
  12. #JUMPTO = jumpto.o
  13.  
  14.  
  15. $(LIBDIR)/dynace.a :  $(OBJ) $(JUMPTO)
  16.     $(AR) $(ARFLAGS) $@ $?
  17.     @if [ -f /usr/bin/ranlib -o -f /bin/ranlib ];\
  18.     then \
  19.         echo ranlib $@;\
  20.         ranlib $@;\
  21.     fi
  22.         
  23. jumpto.o : jumpto/jumpto.s
  24.     $(CC) -c $<
  25.  
  26.  
  27. kernel.o : kernels.h object.iv behavior.iv method.iv genfun.iv
  28.  
  29. object.o : object.iv
  30.  
  31. behavior.o : kernels.h behavior.iv
  32.  
  33. genfun.o : kernels.h genfun.iv
  34.  
  35. method.o : method.iv
  36.  
  37.  
  38. newgens:
  39.     $(DPP) $(DPPOPTS) -g $(INCDIR)/generics.h -ni -p $(CLASSES) -h $(INCDIR)/generics.h
  40.  
  41. reallynewgens:
  42.     $(DPP) $(DPPOPTS) -ni -p $(CLASSES) -h $(INCDIR)/generics.h
  43.  
  44.  
  45. clean:
  46.     -rm -f *.obj *.exe generics.* *.o core *~ *.pdb
  47.  
  48.